package com.huawei.appgallery.forum.cards.style.span;

import android.text.style.StyleSpan;
import o.btn;

public class ItalicStyleSpan extends StyleSpan implements btn {
    public ItalicStyleSpan() {
        this(2);
    }

    public ItalicStyleSpan(int i) {
        super(i);
    }

    public String ॱ(String str, int i, int i2) {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("[i]").append(str.substring(i, i2)).append("[/i]");
        return stringBuilder.toString();
    }
}
